package com.ddpt.platform.common.beans;

import com.ddpt.platform.common.base.BaseEntity;
import com.ddpt.platform.common.enums.KeyTypeEnum;
import com.ddpt.platform.common.enums.SecretTypeEnum;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SecretBean extends BaseEntity {

    //加密类型
    private SecretTypeEnum secretType;

    //加密使用的密钥类型
    private KeyTypeEnum encryptKeyType = KeyTypeEnum.Public;

    //签名算法
    private String signAlgorithm;

    //加密算法
    private String encryptAlgorithm;

    //公钥
    private String publicKey;

    //私钥
    private String privateKey;

    //其他平台提供的公钥
    private String platformPublicKey;

    //AES、DES等使用的密钥
    private String secretKey;
}
